<?php while (list($key, $linha) = each($listaEstapas)) { 

$problemas = $linha['problemas'];

?>
<br>
<table id="anexo" align="left" cellpadding="5" cellspacing="5" width="100%" border="1">
  <tr>
    <td scope="row"><font size="+1"><b>PD:</b> <?php echo $linha['identPasso']; ?></font></td>
    <td><font size="+1"><b>IRC:</b> <?php echo $linha['IRC']; ?></font></td>
  </tr>
  <tr>
    <td colspan="2" scope="row" align="center"><font size="+1">
      <b>Problemas:</b></font>
    </td>
  </tr>
<?php
	while ($linha_problema = mysql_fetch_array($problemas))
		echo "<tr><td colspan=\"2\" scope=\"row\"><font size=\"3\" color=\"#000099\">$linha_problema[pergunta]?</font></td></tr>";
?>
</table>

<?php } ?>
